package com.powerbank.user.dto;

import lombok.Data;

import jakarta.validation.constraints.DecimalMin;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 钱包充值DTO
 */
@Data
public class WalletRechargeDTO {

    /**
     * 充值金额
     */
    @NotNull(message = "充值金额不能为空")
    @DecimalMin(value = "0.01", message = "充值金额必须大于0")
    private BigDecimal amount;

    /**
     * 支付方式：WECHAT-微信，ALIPAY-支付宝
     */
    @NotBlank(message = "支付方式不能为空")
    private String paymentMethod;

    /**
     * 客户端IP
     */
    private String clientIp;

    /**
     * 备注
     */
    private String remark;
}